#coding: utf-8
from datetime import datetime, timedelta
from django import forms
from models import UnBlog
from django.contrib.auth.models import User

class UnBlogAddForm(forms.Form):
    text = forms.CharField(
                widget=forms.Textarea(attrs={'cols':'75', 'rows':'3'}))
    # class Meta:
    #     model = UnBlog
    #     exclude = ('user', 'datetime', 'published', 'corrected')

class UnBlogEditForm(forms.Form):
    blog_edit_area = forms.CharField(
                widget=forms.Textarea(attrs={'cols':'75', 'rows':'10'}))

class TopicForm(forms.Form):
    topic_title = forms.CharField(required = True)

